<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<%@ taglib uri="/struts-tags" prefix="s"%>

<link rel="stylesheet" href="styles/form-input.css" type="text/css" media="all" />
<link rel="stylesheet" href="styles/displaytag.css" type="text/css" media="all" />
<link type="text/css" rel="stylesheet" href="js/jquery/css/ui-lightness/jquery-ui-1.8.16.custom.css"/>
<script type="text/javascript" src="js/jquery/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/jquery/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
   		$("button").button();
 		});
	
	var formSubmitted=false;  
	function preventDoubleSubmit() {  
	   if(formSubmitted) {  
	      return false;  
	   }  
	   
	   formSubmitted = true;  
	   return true;  
	}	
</script>

	<div class="error-text"><s:actionerror /></div>
	<div class="error-text"><s:fielderror /></div>
	<div class="message-text"><s:actionmessage /></div>
	
	<div align="center">
		<s:form theme="simple" validate="true" method="POST" >
			<fieldset style="width:300px">
            	<legend><h3>Change Password</h3></legend>
            	<div align="left">
            		<table cellpadding="3">
            			<tr><td>Old Password*</td><td><s:password name="oldPassword" maxlength="20"/></td></tr>
						<tr><td>New Password*</td><td><s:password name="newPassword" maxlength="20"/></td></tr>
						<tr><td>Confirm New Password*</td><td><s:password name="confirmNewPassword" maxlength="20"/></td></tr>
					</table>					
            	</div>
            	<br>
				<s:submit type="button" action="changePassword">SUBMIT</s:submit>
			</fieldset>
			<s:token />
		</s:form>
	</div>